package br.com.siscom.model.helper;

import java.util.HashMap;

import javax.servlet.http.HttpServletRequest;

import br.com.siscom.model.command.Icommand;

public class PizarriaHelper {

	private HashMap<String, Icommand> mapacomando;
	private HttpServletRequest request;

	public PizarriaHelper(HttpServletRequest request) {

		this.request = request;

	}
public Icommand getCommand(){
	
	return mapacomando.get(request.getParameter("cmd"));
	
}
	
}
